#Copyright 2009-2010 by Ward, David J ( pymethius@ominian.net )
from webmud.lib.dbfactory import DBFactory
from base import BaseModel

class Users(BaseModel):
        
    def __init__(self):
        self.db = DBFactory("main")
        
    
    def list(self ):
        d = self.db.runQuery("SELECT * FROM users")
        return d;
        
                
    #TODO add create, update, delete method's
         